#include<stdio.h>
struct Student//声明定义一个新类型
{
    int num;
    char name[32];// 数组中存储整个字符串
    char sex;
}s = {1002,"pxxx", '0'};

int main()
{
    //struct Student s = {1001,"pxl", '0'};
	//struct Student s = {1001,"pxl"};
    //struct Student s = {.name="pxl"};

    printf("%d-%s-%c\n",s.num, s.name, s.sex);
}
